package com.ilearn.strategy.payport;

import com.ilearn.strategy.payport.payment.AliPay;
import com.ilearn.strategy.payport.payment.JDPay;
import com.ilearn.strategy.payport.payment.TenPay;

public enum PayType {

    ALI_PAY(new AliPay()),
    JD_PAY(new JDPay()),
    TEN_PAY(new TenPay()),
    UNION_PAY(new TenPay()),
    WEICHAT_PAY(new TenPay());

    private PayMent payMent;

    PayType(PayMent payMent){
        this.payMent = payMent;
    }

    public PayMent get() {
        return this.payMent;
    }

}
